package com.david.func_test.animinter;

import android.view.animation.Interpolator;

public class InterpolationDemo implements Interpolator {
    @Override
    public float getInterpolation(float input) {
        if (input > 0 && input < 0.5) {
            return input / 10;
        } else {
            return input * input;
        }
    }

}